        
        <div class="colCenter">
			<h3 class="title"><?php echo $this->lang->line('contact') ?></h3>
			<div class="box-content">
				<?php 
				if ($msg) {
					echo '<div class="msg">';
					echo '<ul>';
					foreach ( $msg as $text ) {
						echo '<li>' . $text . '</li>';
					}
					echo '</ul>';
					echo '</div>';
				}
				?>
				
				<?php if ( $this->cart->contents() ) { ?>
				<div class="box-cart">
					<table cellpadding="6" cellspacing="1" style="width:100%" border="1">				
						<tr>
							<th width="12%" style="text-align: center;padding-left: 0">Số lượng</th>
							<th>Tên sản phẩm</th>
							<th width="20%">Đơn giá</th>
							<th width="20%">Thành tiền</th>
						</tr>				
						<?php 
											
							$i 		= 1; 
							$row 	= '';
							
							foreach( $this->cart->contents() as $items ):
								
								echo '<tr>';
									echo '<td style="text-align: center">';
										echo $items['qty'];
									echo '</td>';
									
									$name = $this->duclinh_model->get_detail( $this->langid, $items['id'], 'product' );
									if ( $name )									
										echo '<td>'. $name['name'] .'</td>';
									else
										echo '<td></td>';
									
									echo '<td>'. $this->cart->format_number( $items['price'] ) .'</td>';
									echo '<td>'. $this->cart->format_number( $items['subtotal'] ) .'</td>';
								echo '</tr>';
								
								$i++;
								
							endforeach;
							
							echo $row;
						?>
															
						
						<tr>
							<td colspan="3"><strong>Tổng</strong></td>
							<td class="right"><?php echo $this->cart->format_number($this->cart->total()); ?> VND</td>
						</tr>				
					</table>
				</div>
				<?php } ?>
				<div class="box-contact">
					<form action="<?php echo base_url().'contact' ?>" method="post" name="contact">
					<p>
						<label><?php echo $this->lang->line('fullname') ?></label>
						<input name="fullname" value="" type="text" class="text" />
					</p>
					<p>
						<label><?php echo $this->lang->line('email') ?></label>
						<input name="email" value="" type="text" class="text" />
					</p>
					<p>
						<label><?php echo $this->lang->line('phone') ?></label>
						<input name="phone" value="" type="text" class="text" />
					</p>
					<p>
						<label><?php echo $this->lang->line('address') ?></label>
						<textarea name="address" rows="10" cols="10" class="text" style="height: 50px"></textarea>
					</p>
					<p>
						<label><?php echo $this->lang->line('subject') ?></label>
						<input name="subject" value="" type="text" class="text" />
					</p>
					<p>
						<label><?php echo $this->lang->line('message') ?></label>
						<textarea name="message" rows="10" cols="10" class="text" style="height: 50px"></textarea>
					</p>
					<p>
						<label><?php echo $this->lang->line('faq_contact') ?></label>
						<input name="code" style="width: 70px" value="" type="text" class="text" /><span><?php echo anti_spam() ?></span>
					</p>
					
					<p>
						<input name="submit" value="<?php echo $this->lang->line('send') ?>" class="input" type="submit" />
						<input name="submit" value="<?php echo $this->lang->line('reset') ?>" class="input" type="reset" />
					</p>
					</form>
				</div>
			</div>
        